package com.jic.member.mapper;

import com.jic.member.entity.TLabel;
import com.jic.member.entity.TLabelMerchantRelation;
import com.jic.member.request.TLabelRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TLabelMerchantRelationMapper {
	/**
	 * T_LABEL_MERCHANT_RELATION插入数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	int insert(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION插入数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	int insertSelective(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION根据表对象数据修改数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	int updateByPrimaryKey(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION根据表对象数据修改数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	int updateByPrimaryKeySelective(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION根据id删除数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	int deleteByPrimaryKey(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION根据主键查询数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	TLabelMerchantRelation selectByPrimaryKey(TLabelMerchantRelation tLabelMerchantRelation);

	/**
	 * T_LABEL_MERCHANT_RELATION根据主键查询数据
	 * @param tLabelRequest 入参实体类
	 */
	List<TLabel> listPageBySelective(@Param("tLabelRequest") TLabelRequest tLabelRequest, @Param("startIndex") int startIndex, @Param("limit") int limit);

	/**
	 * T_LABEL_MERCHANT_RELATION根据主键查询数据
	 * @param tLabelRequest 入参实体类
	 */
	Long listPageBySelectiveCount(@Param("tLabelRequest") TLabelRequest tLabelRequest);

	/**
	 * T_LABEL_MERCHANT_RELATION查询数据
	 * @param tLabelMerchantRelation 入参实体类
	 */
	List<TLabelMerchantRelation>  selectBySelective(TLabelMerchantRelation tLabelMerchantRelation);

	}
